import { path } from "../../config/path";
import request from './request';

/** 患者列表 GET /manage/get_patient_list */
export async function get_patient_list(body: any, options?: any) {
  return request(path + '/manage/get_patient_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 员工列表(下拉框) GRT /manage/get_platformuser_select */
export async function get_platformuser_select(body?: any, options?: any) {
  return request(path + '/manage/get_platformuser_select', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 设置结对医生 POST /manage/set_bind_doctor */
export async function set_bind_doctor(body: any, options?: any) {
  return request(path + '/manage/set_bind_doctor', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 患者详情 GRT /manage/get_patient_info */
export async function get_patient_info(body?: any, options?: any) {
  return request(path + '/manage/get_patient_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者自我评估记录列表 GRT /manage/get_self_access_record_list */
export async function get_self_access_record_list(body?: any, options?: any) {
  return request(path + '/manage/get_self_access_record_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者自我评估详情 GRT /manage/get_self_access_record_info */
export async function get_self_access_record_info(body?: any, options?: any) {
  return request(path + '/manage/get_self_access_record_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者训练记录列表 GRT /manage/get_patient_train_record */
export async function get_patient_train_record(body?: any, options?: any) {
  return request(path + '/manage/get_patient_train_record', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者指导记录列表 GRT /manage/get_patient_guidance_record */
export async function get_patient_guidance_record(body?: any, options?: any) {
  return request(path + '/manage/get_patient_guidance_record', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者生理参数 GRT /manage/get_healthydata */
export async function get_healthydata(body?: any, options?: any) {
  return request(path + '/manage/get_healthydata', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（能力评估）列表 GRT /manage/get_patient_evaluation_list */
export async function patient_evaluation_list(body?: any, options?: any) {
  return request(path + '/manage/get_patient_evaluation_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（能力评估）详情 GRT /manage/get_patient_evaluation_info */
export async function patient_evaluation_info(body?: any, options?: any) {
  return request(path + '/manage/get_patient_evaluation_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（抑郁自评）列表 GRT /manage/get_patient_depressedsds_list */
export async function patient_depressedsds_list(body?: any, options?: any) {
  return request(path + '/manage/get_patient_depressedsds_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（抑郁自评）详情 GRT /manage/get_patient_depressedsds_info */
export async function patient_depressedsds_info(body?: any, options?: any) {
  return request(path + '/manage/get_patient_depressedsds_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（膝关节能力评估）列表 GRT /manage/get_patient_kneewomac_list */
export async function patient_kneewomac_list(body?: any, options?: any) {
  return request(path + '/manage/get_patient_kneewomac_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（膝关节能力评估）详情 GRT /manage/get_patient_kneewomac_info */
export async function patient_kneewomac_info(body?: any, options?: any) {
  return request(path + '/manage/get_patient_kneewomac_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（berg平衡能力评估记录）列表 GRT /manage/get_patient_berg_list */
export async function patient_berg_list(body?: any, options?: any) {
  return request(path + '/manage/get_patient_berg_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（berg平衡能力评估详情）详情 GRT /manage/get_patient_berg_info */
export async function patient_berg_info(body?: any, options?: any) {
  return request(path + '/manage/get_patient_berg_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（mMRC改良呼吸困难指数评估记录）列表 GRT /manage/get_patient_mmrc_list */
export async function patient_mmrc_list(body?: any, options?: any) {
  return request(path + '/manage/get_patient_mmrc_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（mMRC改良呼吸困难指数评估详情）详情 GRT /manage/get_patient_mmrc_info */
export async function patient_mmrc_info(body?: any, options?: any) {
  return request(path + '/manage/get_patient_mmrc_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（rivermead运动指数评估记录）列表 GRT /manage/get_patient_rivermead_list */
export async function patient_rivermead_list(body?: any, options?: any) {
  return request(path + '/manage/get_patient_rivermead_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者在线评估（rivermead运动指数评估详情）详情 GRT /manage/get_patient_rivermead_info */
export async function patient_rivermead_info(body?: any, options?: any) {
  return request(path + '/manage/get_patient_rivermead_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 下级机构全部患者列表 GRT /manage/get_grading_patient_list */
export async function get_grading_patient_list(body?: any, options?: any) {
  return request(path + '/manage/get_grading_patient_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 下级机构列表（下拉框） GRT /manage/get_grading_platform_select */
export async function get_grading_platform_select(body?: any, options?: any) {
  return request(path + '/manage/get_grading_platform_select', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 机构下全部患者（下拉框） GRT /manage/get_patient_select */
export async function get_patient_select(body?: any, options?: any) {
  return request(path + '/manage/get_patient_select', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 批量导入患者 POST /manage/import_patient_list */
export async function import_patient_list(body: any, options?: any) {
  return request(path + '/manage/import_patient_list', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取可授权慢病的全部患者列表 GRT /manage/chronic_diseases_patient_list */
export async function chronic_diseases_patient_list(body?: any, options?: any) {
  return request(path + '/manage/chronic_diseases_patient_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 患者批量授权慢病 POST /manage/volume_license_chronic_diseases */
export async function volume_license_chronic_diseases(body: any, options?: any) {
  return request(path + '/manage/volume_license_chronic_diseases', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 患者绑定家属列表 GRT /manage/get_patient_bind_famliy */
export async function patient_bind_famliy(body?: any, options?: any) {
  return request(path + '/manage/get_patient_bind_famliy', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 获取坐标 GRT /manage/get_coordinate */
export async function get_coordinate(body?: any, options?: any) {
  return request(path + '/manage/get_coordinate', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 添加坐标 POST /manage/set_coordinate */
export async function set_coordinate(body: any, options?: any) {
  return request(path + '/manage/set_coordinate', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}